package com.syp.auth.domain.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * @author syp
 * 
 */
public class RoleVo {

	/**
	 * 主键ID
	 */
	private Long id;
	/**
	 * 角色编码
	 */
	private String roleCode;
	/**
	 * 角色名称
	 */
	private String roleName;
	/**
	 * 角色描述
	 */
	private String roleDesc;
	/**
	 * 上级角色ID
	 */
	private Long rolePid;
	/**
	 * 上级角色编码
	 */
	private String rolePcode;
	/**
	 * 上级角色名称
	 */
	private String rolePname;
	/**
	 * 上级角色描述
	 */
	private String rolePDesc;
	/**
	 * 角色顺序
	 */
	private Integer roleSeq;
	/**
	 * 资源ID集合
	 */
	private String resIds;
	/**
	 * 资源名称集合
	 */
	private String resNames;

	/**
	 * 下级角色
	 */
	private List<RoleVo> children = new ArrayList<RoleVo>(0);

	/**
	 * 展示图标
	 */
	private String iconCls;
	/**
	 * 状态
	 */
	private String state;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRoleDesc() {
		return roleDesc;
	}

	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}

	public Long getRolePid() {
		return rolePid;
	}

	public void setRolePid(Long rolePid) {
		this.rolePid = rolePid;
	}

	public String getRolePcode() {
		return rolePcode;
	}

	public void setRolePcode(String rolePcode) {
		this.rolePcode = rolePcode;
	}

	public String getRolePname() {
		return rolePname;
	}

	public void setRolePname(String rolePname) {
		this.rolePname = rolePname;
	}

	public String getRolePDesc() {
		return rolePDesc;
	}

	public void setRolePDesc(String rolePDesc) {
		this.rolePDesc = rolePDesc;
	}

	public Integer getRoleSeq() {
		return roleSeq;
	}

	public void setRoleSeq(Integer roleSeq) {
		this.roleSeq = roleSeq;
	}

	public String getResIds() {
		return resIds;
	}

	public void setResIds(String resIds) {
		this.resIds = resIds;
	}

	public String getResNames() {
		return resNames;
	}

	public void setResNames(String resNames) {
		this.resNames = resNames;
	}

	public List<RoleVo> getChildren() {
		return children;
	}

	public void setChildren(List<RoleVo> children) {
		this.children = children;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

}
